﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
using System.Security;
using System.ComponentModel.DataAnnotations;

namespace SGIMail.Models
{
    public class MailOutViewModel
    {
        [Display(Name="Events")]
        [Required]
        public int selectedEventID { get; set; }

        [Display(Name="Recipients")]
        [Required]
        public string MailRecipients { get; set; }

        [Display(Name="Subject")]
        [Required]
        public string MailSubject { get; set; }

        [Display(Name="Message")]
        [Required]
        public string MailMessage { get; set; }

        [Required]
        public string Password { get; set; }
        public List<ContactViewModel> recipients { get; set; }
        public SelectList listan { get; set; }
    }
}
